package stateAAs 
{
	import flash.sampler.getSize;
	import org.agony2d.Agony;
	import org.agony2d.gpu.ImageAA;
	import org.agony2d.gpu.StateAA;
	import org.agony2d.gpu.TintedImageAA;
	import org.agony2d.notify.AEvent;

public class BgAStateAA extends StateAA 
{
	
	/** overwritable... */
	override public function get smoothing() : Boolean {
		return true
	}
	
	/** overwritable... */
	override public function get tinted() : Boolean {
		return true
	}
	
	/** overwrite... */
	override public function get fullTexture() : String {
		return "bgA"
	}
	
	/** overwrite... */
	override public function enter() : void {
		var image:ImageAA
		//var image:TintedImageAA
		
		this.group.interactive = false
		
		image = new ImageAA
		//image = new TintedImageAA
		
		//image.color = 0x0000dd
		//image.alpha = 0.5
		this.group.addNode(image)
		image.textureData = FULL_TEX
		trace(getSize(image))
	}
	
	/** overwrite... */
	override public function exit() : void {
		
	}
	
}
}